package com.xiaoxin.common;

/**
 * @version v1.0
 * @Description: 响应状态
 * @Author: TongRui乀
 * @Date: 2021/11/23 3:50 下午
 */
public enum ResponseStatus {


    OK(200, "SUCCESS"),
    SYSTEM_ERROR(500, "SYSTEM ERROR")
    ;

    private Integer code;

    private String msg;

    ResponseStatus(Integer code, String msg){
        this.code = code;
        this.msg = msg;
    }

    public Integer code(){
        return this.code;
    }

    public String msg(){
        return this.msg;
    }
}
